#ifndef __RTCSutil_H_
#define __RTCSutil_H_

#include "RTCS.h"
#include "RTCStype.h"

RTCS_CTuint RTCS_bool2flow(RTCS_CTbool src, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_int2flow(RTCS_CTint src, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_uint2flow(RTCS_CTuint src, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_float2flow(RTCS_CTfloat src, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_double2flow(RTCS_CTdouble src, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_string2flow(RTCS_CTstring src, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_intArray2flow(RTCS_CTintArray src, RTCS_CTuint total, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_uintArray2flow(RTCS_CTuintArray src, RTCS_CTuint total, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_stringArray2flow(RTCS_CTstringArray src, RTCS_CTuint total, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_floatArray2flow(RTCS_CTfloatArray src, RTCS_CTuint total, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_doubleArray2flow(RTCS_CTdoubleArray src,RTCS_CTuint total, RTCS_CTbyteArray* dest);
RTCS_CTuint RTCS_flow2bool(RTCS_CTbyteArray src, RTCS_CTbool *dest);
RTCS_CTuint RTCS_flow2int(RTCS_CTbyteArray src, RTCS_CTint *dest);
RTCS_CTuint RTCS_flow2uint(RTCS_CTbyteArray src, RTCS_CTuint *dest);
RTCS_CTuint RTCS_flow2float(RTCS_CTbyteArray src, RTCS_CTfloat *dest);
RTCS_CTuint RTCS_flow2double(RTCS_CTbyteArray src, RTCS_CTdouble *dest);
RTCS_CTuint RTCS_flow2string(RTCS_CTbyteArray src, RTCS_CTstring *dest);
RTCS_CTuint RTCS_flow2intArray(RTCS_CTbyteArray src, RTCS_CTuint total, RTCS_CTintArray *dest);
RTCS_CTuint RTCS_flow2uintArray(RTCS_CTbyteArray src, RTCS_CTuint total,RTCS_CTuintArray *dest);
RTCS_CTuint RTCS_flow2stringArray(RTCS_CTbyteArray src, RTCS_CTuint total,RTCS_CTstringArray *dest);
RTCS_CTuint RTCS_flow2floatArray(RTCS_CTbyteArray src, RTCS_CTuint total, RTCS_CTfloatArray *dest);
RTCS_CTuint RTCS_flow2doubleArray(RTCS_CTbyteArray src, RTCS_CTuint total, RTCS_CTdoubleArray *dest);

#endif
